export default function hack(editor) {
  let addRenderView = editor.pc.addRenderView;
  editor.pc.addRenderView = (view) => {
    // if (view instanceof SideRenderView) {
    //   hackSideView(editor, view);
    // }

    // if (view instanceof MainRenderView) {
    //   hackMainView(editor, view);
    // }

    // if (view instanceof Image2DRenderView) {
    //   hackImgView(editor, view);
    // }
    addRenderView.call(editor.pc, view);
    
    editor.viewManager.updateViewAction(view);
  };
}

function hackImgView(editor, view) {

}